package com.xuwang.pojo;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 健康表(Health)实体类
 *
 * @author yuepeng
 * @since 2021-09-15 09:17:21
 * @version 1.0
 */
@ApiModel(value = "Health",description = "健康表")
public class Health implements Serializable {
    private static final long serialVersionUID = -63868253177217262L;
    /**
    * 主键
    */
	@ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 健康情况
    */
	@ApiModelProperty(name = "healthCondition",notes = "健康情况",dataType = "String",required = true)
    private String healthCondition;
    /**
    * 健康证号
    */
	@ApiModelProperty(name = "healthNumber",notes = "健康证号",dataType = "String",required = true)
    private String healthNumber;
    /**
    * 发证日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	@ApiModelProperty(name = "createTime",notes = "发证日期",dataType = "Date",required = true)
    private Timestamp createTime;
    /**
    * 有效开始日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	@ApiModelProperty(name = "validBeginTime",notes = "有效开始日期",dataType = "Date",required = true)
    private Timestamp validBeginTime;
    /**
    * 有效截止日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	@ApiModelProperty(name = "validEndTime",notes = "有效截止日期",dataType = "Date",required = true)
    private Timestamp validEndTime;

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getValidBeginTime() {
        return validBeginTime;
    }

    public void setValidBeginTime(Timestamp validBeginTime) {
        this.validBeginTime = validBeginTime;
    }

    public Timestamp getValidEndTime() {
        return validEndTime;
    }

    public void setValidEndTime(Timestamp validEndTime) {
        this.validEndTime = validEndTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getHealthCondition() {
        return healthCondition;
    }

    public void setHealthCondition(String healthCondition) {
        this.healthCondition = healthCondition;
    }
        
    public String getHealthNumber() {
        return healthNumber;
    }

    public void setHealthNumber(String healthNumber) {
        this.healthNumber = healthNumber;
    }

}